#include "strategy_nonevent.h"
#pragma warning(disable : 4996)






bool CStrategyNonevent::Init(BarSeries** pbarser, unsigned int cnt)
{


	return true;


}

void CStrategyNonevent::Run(TThostFtdcInstrumentIDType inst)
{
	
	//clc++;
	//if (10 == clc)
	//{
	//	OrderInput input;

	//	input.pricetype = THOST_FTDC_OPT_LimitPrice;	//THOST_FTDC_OPT_AnyPrice			//THOST_FTDC_OPT_LimitPrice
	//	strcpy(input.inst, "rb1305");
	//	input.price = 3700;
	//	input.director = THOST_FTDC_D_Buy;
	//	input.offset = THOST_FTDC_OF_Open;
	//	input.volumn = 1;


	//	unsigned int orderref= 0;
	//	m_ptrade->m_papi->ReqOrderInsert(&input, orderref);

	//}




}


void CStrategyNonevent::OnOrder(OrderData *pOrder)
{

	//cerr<<"[OnOrder] Orderref is: "<< pOrder->OrderRef<< endl;


}


void CStrategyNonevent::OnTrade(TradeData *pTrade)
{

	//cerr<<"[OnTrade] Orderref is: "<< pOrder->OrderRef<< endl;


}